package com.cyf.merchat.network.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商户优惠券发放记录
 * Created by 60285 on 2019/10/22.
 */
@Data
public class MerchantCouponLssueRecordRsp {
    @ApiModelProperty(value = "列表")
    private List<MerchantCouponVo> couponList;
    @ApiModelProperty(value = "总条数")
    private long total;
    @ApiModelProperty(value = "实收费用")
    private int actualFee;
    @ApiModelProperty(value = "发放总优惠券张数")
    private Integer couponTotal;
    @ApiModelProperty(value = "已使用优惠券张数")
    private Integer couponUser;
    public static final int SUCCESS = 1;
    public static final int FAIL = -1;
    /* 优惠券数量已达上限 */
    public static final int RESULT_COUPON_MAX = -100;
    @ApiModelProperty(value = "响应码 1成功 -1失败 -100优惠券数量达上限")
    private int result;
    @ApiModelProperty(value = "错误信息")
    private String strError;

    private MerchantCouponVo statistics;
}
